package com.edu.hre.struts.form.pim;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;

import com.edu.hre.common.entity.HrePageInfo;

public class EmpEducationListForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4022413612705443937L;
    private boolean canAdd = false;
    private boolean canDelete = false;
    private boolean isAsc = true;
    private int totalItems = 0;
	private int totalPage = 0;
	private List<HrePageInfo> listPages = new ArrayList<HrePageInfo>();

    private int empNumber = 0;
    private List<EmpEducationForm> allEducations = new ArrayList<EmpEducationForm>();
    
    private boolean updatable = false;

    public EmpEducationListForm () {

    }

	public boolean isCanAdd() {
		return canAdd;
	}

	public void setCanAdd(boolean canAdd) {
		this.canAdd = canAdd;
	}

	public boolean isCanDelete() {
		return canDelete;
	}

	public void setCanDelete(boolean canDelete) {
		this.canDelete = canDelete;
	}

	public boolean isAsc() {
		return isAsc;
	}

	public void setAsc(boolean isAsc) {
		this.isAsc = isAsc;
	}

	public int getTotalItems() {
		return totalItems;
	}

	public void setTotalItems(int totalItems) {
		this.totalItems = totalItems;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List<HrePageInfo> getListPages() {
		return listPages;
	}

	public void setListPages(List<HrePageInfo> listPages) {
		this.listPages = listPages;
	}
	public int getEmpNumber() {
		return empNumber;
	}

	public void setEmpNumber(int empNumber) {
		this.empNumber = empNumber;
	}

	public List<EmpEducationForm> getAllEducations() {
		return allEducations;
	}

	public void setAllEducations(List<EmpEducationForm> allEducations) {
		this.allEducations = allEducations;
	}
	public boolean isUpdatable() {
		return updatable;
	}
	
	public boolean getUpdatable() {
		return updatable;
	}

	public void setUpdatable(boolean updatable) {
		this.updatable = updatable;
	}
}
